PreviousNextTracker indexSee it online !

(36/308) 223 - SQL Nullpointer Exception at getLocalProperty with sybase

When I install the SQL plugin and try to connect to the
db, an exception is thrown. jEdit-4.1, SQL-0.97, sybase
jdbc driver.


stsws012:kruthan> bin/jedit
\[error\] AWT-EventQueue-0: java.lang.NullPointerException
\[error\] AWT-EventQueue-0: at
sql.SqlPlugin.getLocalProperty(Unknown Source)
\[error\] AWT-EventQueue-0: at
sql.SqlServerRecord.getAllRecords(Unknown Source)
\[error\] AWT-EventQueue-0: at
sql.SqlUtils.showCurrentServerChooser(Unknown Source)
\[error\] AWT-EventQueue-0: at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
\[error\] AWT-EventQueue-0: at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
\[error\] AWT-EventQueue-0: at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
\[error\] AWT-EventQueue-0: at
java.lang.reflect.Method.invoke(Method.java:324)
\[error\] AWT-EventQueue-0: at
bsh.Reflect.invokeOnMethod(Unknown Source)
\[error\] AWT-EventQueue-0: at
bsh.Reflect.invokeStaticMethod(Unknown Source)
\[error\] AWT-EventQueue-0: at
bsh.Name.invokeMethod(Unknown Source)
\[error\] AWT-EventQueue-0: at
bsh.BSHMethodInvocation.eval(Unknown Source)


<...>

-andreas

Submitted kruthoff - 2003-11-14 15:46:52 Assigned
Priority 1 Labels
Status open Group None
Resolution None

Comments

2003-11-14 16:39:36
svu

Logged In: YES
user_id=681

Could you please provide me with the screenshots of your
server list (not the JDBC driver classpath list\!)

2003-11-14 16:40:18
svu

- **assigned_to**: nobody --> svu

2004-03-07 23:54:59
svu

- **priority**: 5 --> 1

2004-03-07 23:54:59
svu

Logged In: YES
user_id=681

Actually it is ok - this exception can be ignored. But you
are right it should not be there. At some point I will fix this.

2012-08-05 07:20:36
jarekczek

Andreas, is the exception still thrown? With current plugin version? Only with sybase? The current info is insufficient to fix it and I have no sybase server to try to reproduce. Anyone able to test sybase with current SQL plugin version?

2012-08-05 07:20:36
jarekczek

- **assigned_to**: svu --> nobody
- **summary**: SQL Nullpointer Exception --> SQL Nullpointer Exception at getLocalProperty with sybase